package stanford.com.balldating;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;

public class FootballActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_football);
    }
    public void fsinglematch(View v)
    {
        LayoutInflater inflate = LayoutInflater.from(this);
        View view = inflate.inflate(R.layout.footballsingle,null);
        setContentView(view);
    }
    public void gotofootballmatch(View v)
    {
        LayoutInflater inflate = LayoutInflater.from(this);
        View view = inflate.inflate(R.layout.football_match,null);
        setContentView(view);
    }
    public void gotojinqiu(View v)
    {
        LayoutInflater inflate = LayoutInflater.from(this);
        View view = inflate.inflate(R.layout.football_match_jinqiu,null);
        setContentView(view);
    }
    public void gotodianqiu(View v)
    {
        LayoutInflater inflate = LayoutInflater.from(this);
        View view = inflate.inflate(R.layout.football_match_dianqiu,null);
        setContentView(view);
    }
    public void gotohuanren(View v)
    {
        LayoutInflater inflate = LayoutInflater.from(this);
        View view = inflate.inflate(R.layout.football_match_huanren,null);
        setContentView(view);
    }
    public void gotofangui(View v)
    {
        LayoutInflater inflate = LayoutInflater.from(this);
        View view = inflate.inflate(R.layout.football_match_fangui,null);
        setContentView(view);
    }
    public void gotoyuewei(View v)
    {
        LayoutInflater inflate = LayoutInflater.from(this);
        View view = inflate.inflate(R.layout.football_match_yuewei,null);
        setContentView(view);
    }
    public void gotojiaoqiu(View v)
    {
        LayoutInflater inflate = LayoutInflater.from(this);
        View view = inflate.inflate(R.layout.football_match_jiaoqiu,null);
        setContentView(view);
    }
    public void gotorenyiqiu(View v)
    {
        LayoutInflater inflate = LayoutInflater.from(this);
        View view = inflate.inflate(R.layout.football_match_renyiqiu,null);
        setContentView(view);
    }
    public void gobackfootballmatch(View v)
    {
        LayoutInflater inflate = LayoutInflater.from(this);
        View view = inflate.inflate(R.layout.football_match,null);
        setContentView(view);
    }
}
